package cn.laixueit.api;

import cn.laixueit.cart.pojo.item.Brand;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

public interface BrandApi {
    @GetMapping("/brand/cid/{cid}")
    public ResponseEntity<List<Brand>> cid(@PathVariable(value = "cid")Long cid);

    @GetMapping("/brand/{id}")
    public ResponseEntity<Brand> getBrandById(@PathVariable("id")Long id);

}
